import {GTableSchema} from './TableSchema';
import {RowSelectMethod} from 'antd/es/table/interface';

export interface GTableProps {
  schemaPath?: string;
  schema?: GTableSchema;
  onSelected?: (selection: {
    selectedKeys: React.Key[];
    selectedRows: any[];
    info: { type: RowSelectMethod };
  }) => void;
  onDeleted?: (deletedData: any[]) => void;
  onDataLoaded?: (value: any) => any;
}
